Bitmap for WPF
Create<T>(Device,T,BufferDescription) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > Buffer クラス > Create メソッド : Create<T>(Device,T,BufferDescription) メソッド
Type of the data to upload
The device with which to associate the buffer.
Initial data used to initialize the buffer.
The description.
Creates a new instance of the Bufferclass.
シンタックス
'宣言
 
Public Overloads Shared Function Create(Of T As {New, Struct})( _
   ByVal device As Device, _
   ByRef data As T, _
   ByVal description As BufferDescription _
) As Buffer
public static Buffer Create<T>( 
   Device device,
   ref T data,
   BufferDescription description
)
where T: new(), struct

パラメータ

device
The device with which to associate the buffer.
data
Initial data used to initialize the buffer.
description
The description.

型パラメータ

T
Type of the data to upload

戻り値の型

An initialized buffer
参照

Buffer クラス
Buffer メンバ
オーバーロード一覧